import { Component } from 'react'
import { View, Text } from '@tarojs/components'
import { AtList, AtListItem } from "taro-ui"

export default class Index extends Component {
  // constructor () {
  //   super(...arguments)
  //   this.state = {
  //     value: ''
  //   }
  // }
	state = {
      value: ''
    }

  componentWillMount () { }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

	handleChange (value) {
    this.setState({
      value
    })
  }
  onSubmit (event) {
    console.log(this.state.value)
  }
  onReset (event) {
    this.setState({
      value: '',
    })
  }

  render () {
    return (
      <View className='index'>
				<AtList>
					<AtListItem title='父母状况' />
					<AtListItem title='兄弟姐妹' arrow='right' />
					<AtListItem title='愿意与对方父母同住' extraText='详细信息' />
					<AtListItem title='是否吸烟' extraText='详细信息' />
					<AtListItem title='兴趣爱好' extraText='详细信息' />
					<AtListItem title='民族' extraText='详细信息' />
					<AtListItem title='我的标签' extraText='详细信息' />
					<AtListItem title='单位类型' extraText='详细信息' />
				</AtList>
      </View>
    )
  }
}